home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000062_news@newsmaster….columbia.edu _Sun May 10 16:46:21 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id QAA11618
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sun, 10 May 1998 16:46:21 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id QAA15560
  7.     for kermit.misc@watsun; Sun, 10 May 1998 16:46:20 -0400 (EDT)
  8. Path: news.columbia.edu!panix!nntprelay.mathworks.com!news.voicenet.com!news3.voicenet.com.POSTED!not-for-mail
  9. From: cmosley@voicenet.com (Christopher Mosley)
  10. Subject: Gnu ls and ansi color
  11. Newsgroups: comp.protocols.kermit.misc
  12. X-Newsreader: TIN [version 1.2 PL2]
  13. Lines: 51
  14. Message-ID: <mko51.78$%T6.1215229@news3.voicenet.com>
  15. Date: Sun, 10 May 1998 20:44:02 GMT
  16. NNTP-Posting-Host: omni2.voicenet.com
  17. NNTP-Posting-Date: Sun, 10 May 1998 16:44:02 EST
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8714
  19.  
  20.  
  21. In mskermit Ansi-bbs color behave differently than vt** color.
  22. A dos Ansi image displays different colors when vt** emulation
  23. is used - different from ansi-bbs emulation in mskermit or in dos when
  24. ansi.sys is loaded ( this has nothing to do with the char set being used
  25. (darker/lighter) - the image colors are different even when vt** emulation
  26. uses the "transparent" (dos) char set. It is also independent of the
  27. terminfo or termcap $TERM and is present when strings are simply typed
  28. (cat file) to the screen. That is a correction to a term description
  29. would  not correct the problem - I _think_ the problem is with the
  30. underlying properties of the terminal emulation. 
  31.  
  32. The ansi escape sequences gnu "ls" (list program in Gnu file utils) uses,
  33. work properly only under ansi-bbs emulation. I have Gnu "ls" working properly 
  34. by using a sh script that uses the apc escape mechanism to temporarily 
  35. switch to ansi-bbs emulation before "ls" writes to the screen. This works
  36. fine  (the time involved in switching emulations occurs quickly and is not
  37. noticable). Previous output of "ls" under vt** emulation seems to affect
  38. the color of those color strings that come later, and the prompt and all
  39. following output after "ls" is done, retain the color of the last color
  40. output of the "ls" command. This doesn't happen when ansi-bbs emulation
  41. is used.
  42.  
  43.  
  44.   Gnu "ls" was presumably written to be used with vt terminal/emulation or
  45. something similar and two of the default term types assumed by the "ls" 
  46. configuration utility ("dircolors") _are_ vt100 and xterm?  I know nothing
  47. of ansi or vt standards?/conventions? (I don't think it would be a formal
  48. standard, afterall a vt100 is not really a color terminal) and am wondering
  49. why this  _apparent_  discrepancy exists.  
  50.                                                             
  51.                                                           Thanks
  52.                                                           Christopher Mosley 
  53.